﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace Server
{
    enum Status { CONNECTED, LOGGEDIN, FREE, BUSY };
    class ClientInfo
    {
        private TcpClient _socket;

        public TcpClient Socket
        {
            get { return _socket; }
            set { _socket = value; }
        }
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        private int _ID;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private Status _status;

        public Status Status
        {
            get { return _status; }
            set { _status = value; }
        }
        private List<TrackInfo> _trackList = new List<TrackInfo>();

        public List<TrackInfo> TrackList
        {
            get { return _trackList; }
            set { _trackList = value; }
        }
    }
}
